package com.itheima.course.design;

import com.itheima.course.design.ui.MainUI;

import javax.swing.*;

public class StudentCourseSystem {
    public static void main(String[] args) {
        // 设置Swing的外观为系统默认样式
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception e) {
            e.printStackTrace();
        }

        // 启动主界面
        SwingUtilities.invokeLater(() -> {
            MainUI mainUI = new MainUI();
            mainUI.setVisible(true);
        });
    }
}